package com.example.core.enums;

public enum UserIdentity {
    NORMAL  (1),// 普通用户
    ADMIN   (2),// 管理员
    OTHER   (0);

    private int identity;

    UserIdentity(int identity) {
        this.identity = identity;
    }

    public int getValue() {
        return identity;
    }

    public void setValue(int identity) {
        this.identity = identity;
    }
}
